Function of brickowl.reuseempty ?

Hi,

Does anybody have an idea what the following parameter in the bricksync software does ?

// Set to non-zero to reuse existing and empty BrickOwl lots with matching external_id/LotIDs
brickowl.reuseempty = 0;

Any help is highly appriciated

Unbrickable

Comments

  • 2 Comments sorted by Votes Date Added
  • edited April 2023 Vote Up0Vote Down
    /* Reuse BrickOwl existing lots with quantities of zero */
    int reuseemptyflag;

    // Set to non-zero to reuse existing and empty BrickOwl lots with matching external_id/LotIDs
    brickowl.reuseempty = 0;

    From the source code, basically it recycles lots that have the matching external ID and 0 quantity, I believe when a lot is sold out it is not deleted but stays as inactive in the system. BrickSync can reuse it instead of creating a new lot with a new BOID as long as the external ID is the same.
  • I think that this might be useful when you have retained lots with zero quantity at the other place, when you add stock there it might use the same lot here again.

    Please correct me when I am wrong, I haven't check the source and am no BS expert :P
Sign In or Register to comment.